package TestsBuxfer;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;


/**
 * Created with IntelliJ IDEA.
 * User: C13T
 * Date: 12.07.13
 * Time: 19:18
 * To change this template use File | Settings | File Templates.
 */
public class Reminders {
    public WebDriver driver;
   // @Test


    public Reminders(WebDriver driver){
        this.driver = driver;
    }

     public Reminders RemindersPage(){
         WebElement TabReminders = driver.findElement(By.id("tab-reminders"));
         TabReminders.click();
         return new Reminders(driver);
     }

      public void CheckContent(){
         WebElement RemindPict = driver.findElement(By.linkText("Add Reminder"));
         //WebElement RemindPict = driver.findElement(By.id("rem-cal-tab-ic"));
         RemindPict.click();
    //String TabReminderURL = driver.getCurrentUrl();
          WebElement TabReminders = driver.findElement(By.id("tab-reminders"));
       //   Assert.assertEquals(TabReminders.getAttribute("class"),"tabTitle selected");
     }
}
